package com.ibm.law.domain;

import java.util.ArrayList;
import java.util.List;


public class CategoryList extends AbstractModelObject{
	private List<Category> list=new ArrayList<Category>();
	public void addCategory(Category category){
		list.add(category);
		firePropertyChange("list", null, list);
	}
	public List<Category> getList() {
		return list;
	}

	public void setList(List<Category> list) { 
		this.list = list;
	}
	public void removeCategory(Category c) {
//		List<Category> oldValue=list;
		list.remove(c);
		firePropertyChange("list", null, list);	
	}
}
